package com.trust.pams.dao.service;

import com.chasonx.common.model.PageResult;
import com.chasonx.common.util.Ret;
import com.mongodb.client.result.DeleteResult;
import com.trust.pams.dto.PamsQuoteDto;
import com.trust.pams.model.Tree.Tree;
import com.trust.pams.model.query.PamsQuoteQuery;

import java.util.List;

public interface PamsPuoteDao {

    int batchPamsPuote(List<PamsQuoteDto> pamsquote);

    public DeleteResult deletePamsPuote(String projectGuid);

    PageResult<PamsQuoteDto> listPamsQuote(PamsQuoteQuery pamsQuoteQuery);

    PageResult<PamsQuoteDto> listPamsQuotes(PamsQuoteQuery pamsQuoteQuery);

    List<PamsQuoteDto> getPamsQuote(String projectGuid);

    List<PamsQuoteDto> allPamsQuote();

    List<PamsQuoteDto> getNamePamsQuote(String key,String name);

    List<PamsQuoteDto> getNamePamsQuotes(String key,String name);

    List<PamsQuoteDto> getConditionPamsQuotes(String key,String name,String projectId,String creationTime);

    List<PamsQuoteDto> getClientPamsQuote(String clientName);
}
